<html>
<head>
  <title>Topical Ontologies</title>
	
 <link rel="stylesheet" type="text/css" id="stylesheet"
       href="/styles/default.css" />	
</head>
<body>
<h1>Topical Ontologies - {{.username}}</h1>
<table>	    
{{range .ontologies}} 
	<tr>
		<td>
		<a href="{{.urlPathComponent}}">{{.name}}</a>	
		</td>
		<td>
		{{.description}}	
		</td>		
	</tr>
{{else}}
   <p>There are no ontologies yet.</p>
   <p>As an example, you can create an ontology called "My Biology Knowledge Base"
	by typing the following url in the browser address bar:<br/>
	http://topicalhost.org/username/my-biology-knowledge-base
	</p>
{{end}}
</table>
<p>
	An Ontology is a network of inter-related concepts or topics. The ontology typically contains some general concepts / topics, and other concepts / topics which are specializations, examples, or parts of the general concepts / topics. It is up to you whether you create just a single diverse ontology to contain all of your topic notes, or create a separate ontology for each general subject area or project.
</p>
<table>
	<form action="/createOntology" method="POST">
	<input type="hidden" name="username" value="{{.username}}" />
	<tr>
		<td>
			Ontology Name:
	    </td>
		<td>
			<input name="name" type="text" size="40" />
		</td>
		<td>
			&nbsp;
		</td>		
		<td>
			<input type="submit" value="create new ontology" />
		</td>
	</tr>
    </form>
</table>
</body>
</html>